package QuizModel

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MbtiTestModel = (*customMbtiTestModel)(nil)

type (
	// MbtiTestModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMbtiTestModel.
	MbtiTestModel interface {
		mbtiTestModel
	}

	customMbtiTestModel struct {
		*defaultMbtiTestModel
	}
)

// NewMbtiTestModel returns a model for the database table.
func NewMbtiTestModel(conn sqlx.SqlConn, c cache.CacheConf) MbtiTestModel {
	return &customMbtiTestModel{
		defaultMbtiTestModel: newMbtiTestModel(conn, c),
	}
}
